/**
 * 
 */
package runner;

import image.Image;

import javax.swing.JFrame;


/**
 * @author nquangtrung
 *
 */
public class Displayer extends JFrame {
	private ImageDisplayer imgD;
	public Displayer(Image image) {
		this.setTitle("BMP");
		this.setImgD(new ImageDisplayer(image));
		this.getContentPane().add(this.getImgD());
		this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
	}

	/**
	 * 
	 */
	private static final long serialVersionUID = 438399415620237236L;

	/**
	 * @return the imgD
	 */
	public ImageDisplayer getImgD() {
		return imgD;
	}
	/**
	 * @param imgD the imgD to set
	 */
	public void setImgD(ImageDisplayer imgD) {
		this.imgD = imgD;
	}
}
